import CommonApi from '@/api/CommonApi';

class IdentifySchedulePerson extends CommonApi{
	
	constructor(path) {
	    super(path);
		this.path = path;
	}
	
	// 查询
	queryList(data) {
		return CommonApi.request({
			url: this.path + '/query',
			method: 'post',
			data: data
		})
	}
	
	// 查询
	groupCount(data) {
		return CommonApi.request({
			url: this.path + '/group/count',
			method: 'get',
			data: data
		})
	}
	
	// 认证申请提交
	identifySubmit(data) {
		return CommonApi.request({
			url: this.path + '/identify/submit',
			method: 'put',
			data: data
		})
	}
	
	// 认证结果核验（微信认证）
	identifyVerify(data) {
		return CommonApi.request({
			url: this.path + '/identify/verify',
			method: 'put',
			data: data
		})
	}
	
	// 认证审核
	check(data) {
		return CommonApi.request({
			url: this.path + '/check',
			method: 'put',
			data: data
		})
	}
	
	// 重新认证
	redoIdentify(id) {
		return CommonApi.request({
			url: this.path + '/identify/redo/'+id,
			method: 'get'
		})
	}
	
	// 发放统计
	disbursementStat(data) {
		return CommonApi.request({
			url: this.path + '/disbursement/stat',
			method: 'GET',
			data: data
		})
	}
	
}

export default IdentifySchedulePerson;

